<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="box">hello div</div>
    <p id="pa">hello p</p>
    <script>
      // const box = document.body.children[0]
      const box1 = document.getElementById("box");
      const pa2 = document.getElementById("pa");

      console.log(box1);
      console.log(pa2);
    </script>
  </body>
</html>
